is not strictly
Type
operator
Summary
Compares two values and evaluates to true if they are not equal as they are, false otherwise.
Syntax
<value1> is not strictly <value2>
Description
Use the is not strictly operator determine whether two expressions do not generate exactly the same value.
The behavior of the operator is the logical inverse of the is strictly (operator).
Parameters
Name | Type | Description |
---|---|---|
value1 | The operand value1 can be a number, literal string of characters (delimited with double quotes), or any source of value. | |
value2 | The operand value2 can be a number, literal string of characters (delimited with double quotes), or any source of value. |
Examples
"" is not strictly nothing -- evaluates to true
true is not strictly true -- evaluates to false
"false" is not strictly false -- evaluates to true
(1.5 - 0.5) is not strictly the number of items in "_" -- evaluates to false
"Foo" is not strictly "foo" -- evaluates to true
empty is not strictly [1, 2] -- evaluates to true
[ [ "foo" ], "bar" ] is not strictly [ [ "foo" ], "bar" ] -- evaluates to false
[ [ "Foo" ], "bar" ] is not strictly [ [ "foo" ], "bar" ] -- evaluates to true
Related
property: is strictly (operator) caseSensitive, formSensitive
Compatibility and Support
Introduced
LiveCode 10.0
OS
mac
windows
linux
ios
android
web
Platforms
desktop
server
mobile